package com.kb.design.service;

import com.kb.design.dto.ApplySpecialBonuses;
import com.kb.design.dto.BonusDistributionDTO;
import com.kb.design.dto.BonusQueryDTO;
import com.kb.design.dto.DesignProjectDTO;
import com.kb.design.entity.DesignBonusDistribution;
import com.kb.design.entity.DesignDaily;
import com.kb.design.vo.ProjectBonusInfoVO;

import java.util.List;
import java.util.Map;

/**
 * @Auther:chenzx
 * @Date:2024-04-01
 * @Description:
 */
public interface BonusService {
   boolean submitBonusConfiguration(BonusDistributionDTO bonusDistributionDTO);
   BonusDistributionDTO searchData(BonusQueryDTO bonusQueryDTO);

   /**
    *  详情页面 负责人查看和工程师查看奖金配置
    * @param designProjectDTO
    * @return
    */
   BonusDistributionDTO getLeaderBonusAllocation(DesignProjectDTO designProjectDTO);

   /**
    * 负责人提交分配
    * @param bonusDistributionDTO
    * @return
    */
   boolean submitBonusAllocation(BonusDistributionDTO bonusDistributionDTO);



   /**
    * 个人奖金查看
    * @param
    * @return
    */
   BonusDistributionDTO personalBonusesInfo(BonusQueryDTO bonusQueryDTO);

   /**
    * 奖金确认
    * @param
    * @return
    */
   boolean bonusConfirmation(BonusDistributionDTO bonusDistributionDTO);
   boolean noBonus(DesignProjectDTO designProjectDTO);
   boolean againBonus(DesignProjectDTO designProjectDTO);
   boolean applySpecialBonuses(ApplySpecialBonuses applySpecialBonuses);
}
